package com.kujie;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 *
 * @author Lion Li
 */

@EnableScheduling
@SpringBootApplication
public class DromaraApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(DromaraApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
        System.out.println("(♥◠‿◠)ﾉﾞ  kujie-vue5 启动成功   ლ(´ڡ`ლ)ﾞ\n\n\n");
    }

    /*
    跳过登录验证：
    1、跳过登录入参加密
    kujie-admin模块 ---> com.kujie.web.controller.AuthController ---> 注释掉 @ApiEncrypt注解

    2、关闭验证码验证
    application.yml ---> captcha.enable ---> 改为 false

    3、跳过登录拦截器
    kujie-common模块 ---> kujie-common-security模块 ---> com.kujie.common.security.config.SecurityConfig ---> 注释掉SaRouter.check()方法里的内容
     */

}
